Transcription: If the scan code is for one of the ordinary shift keys or for one of the special shift keys and toggle keys, CTRL, ALT, Num Lock, Caps Lock, Scroll Lock, or Insert, the BIOS changes two bytes in a special area of memory to maintain a record of which of these keys has been pressed.